<template>
    <div>
        <!-- 物流详情弹窗 -->
     <x-dialog v-model="showHideOnBlur" class="dialog-demo xdialog" hide-on-blur>
      <div class="flexHeight dialogBigDiv" >
        <span class="dialogTitle" >申通快递 G45454546516015</span>
        <div v-for="val in 4" >
          <div v-if="val != 1" class="barCss" ></div>
          <div class="textCss" >
            <span>02-18</span>
            <div class="classTopDiv" ></div>
            <div style="width: 3rem;" >
              <span>福州鼓楼点已接收</span>
            </div>
          </div>
        </div>
      </div>
     </x-dialog>
    </div>
</template>
<script>
import { XDialog} from 'vux'
export default {
     components: {
        XDialog
    },
    data () {
        return {
            showHideOnBlur: false
        }
    },
    methods: {
        open () {
            this.showHideOnBlur = true
        },
        close () {
            this.showHideOnBlur = false
        }
    }
}
</script>
<style lang="less" scoped>

.dialogBigDiv {
  padding: 0 0.3rem;
  margin-bottom: 0.5rem;
  .dialogTitle {
    font-size: 0.32rem;
    font-weight: 600;
    margin: 0.3rem 0;
  }
  .barCss {
    width: 0.035rem;
    height: 0.7rem;
    background: #CDCDCD;
    margin: -0.2rem 0 -0.2rem 1.22rem;
  }
  .textCss {
    display: flex;
    align-items:
    center; margin-left: 0.2rem;
    color: #999999;
    font-size: 0.28rem;
  }
  .classTopDiv {
    width: 0.12rem;
    height: 0.12rem;
    border-radius: 4rem;
    background: #CDCDCD;
    margin: 0 0.2rem;
  }
}

.bigDivCss {
  width: 6.7rem;
  height: 2rem;
  background: #FFF;
  border-radius: 0.15rem;
  border: 1px solid #e8e2e2;
  margin: 0 0 0.3rem 0.2rem;
  display: flex;
  .leftDiv {
    width: 4.2rem;
    height: 100%;
    color: #666;
    font-size: 0.26rem;
    padding-left: 0.3rem;
    .titleSpan {
      color: #000;
      font-size: 0.32rem;
      margin: 0.2rem 0;
      font-weight: 600;
    }
  }
  .rightDiv {
    width: 1.7rem;
    height: 100%;
    padding-right: 0.5rem;
    font-size: 0.32rem;
    align-items: flex-end;
    div {
      display: flex;
      margin-top: 0.55rem;
      img {
        width: 0.1rem;
        height: 0.18rem;
        margin: 0.15rem 0 0 0.15rem;
      }
    }
  }
}

.titleCss {
  display: flex;
  align-items: center;
  margin: 0.2rem 0.3rem;
  font-size: 0.28rem;
}

.flexCenter {
  display: flex;
  align-items: center;
  justify-content: center;
}

.flexHeight {
  display: flex;
  flex-direction: column;
}

.flexAlign {
  display: flex;
  align-items: center;
}

.flexEdge {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
</style>